package com.gtt.pattern.creational.builder;

/**
 * Product
 * 
 * @author Michael(gao12581@sina.com)
 * @date 2011-2-24 08:39:18
 * 
 */
public class Product {

    private String name;

    private String door;
    private String engine;
    private String wheels;
    private String frame;

    public Product(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public String getDoor() {
        return door;
    }

    public void setDoor(String door) {
        this.door = door;
    }

    public String getEngine() {
        return engine;
    }

    public void setEngine(String engine) {
        this.engine = engine;
    }

    public String getWheels() {
        return wheels;
    }

    public void setWheels(String wheels) {
        this.wheels = wheels;
    }

    public String getFrame() {
        return frame;
    }

    public void setFrame(String frame) {
        this.frame = frame;
    }

    public void show() {
        System.out.println("===================");
        System.out.println(getName());
        System.out.println("Door: " + getDoor());
        System.out.println("Engine: " + getEngine());
        System.out.println("Frame: " + getFrame());
        System.out.println("Wheels: " + getWheels());
    }

}
